|  | Sample 1 Centigrade Fahrenheit | 
Steps_recommanded()
FUNCTION Steps_recommanded()
    SYSTEM(BackGround=998, FontSize=20)	! Hit the ENTER key to proceed
    DLG(Edit='#Welcome', Button='OK')

    SYSTEM(RUN = 0) 				! STOPs auto-RUN mode
    DLG(Edit='#NeedToKnow', Button='OK')
    DLG(Edit='#Samples', Button='OK')
    Fahrenheit = 9 * Centigrade / 5 + 32	! The base algorithm (in case you forgot)
    DLG(Edit='#Explain', Button='OK')
.	For more interaction use DLG():
    DLG(LaBeL='This label tells you to set C to', NumEdit=C, Button='Calculate F with THIS Button')
    F = 9 * C / 5 + 32
    DLG(LBL='The conversion of' && C & '°C is' && F & '°F', B='OK')
    DLG(Edit='#LaBeL_(Num)Edit_Button', Button='OK')
.	use a DO loop for multiple tries:
    DO
        F = 9 * C / 5 + 32				! Base algorithm again as F(C)
        CtoF = 'Converted' && C & '°C to' && F & '°F ||| Next convert °C ='
        DLG(LBL=CtoF,  NumEdit=C, But='OK',  B='Next')
        IF($txtRC == 'Next') EXIT
    ENDDO
    DLG(Edit='#DOloops', Button='OK')
    DO
        F = 9 *  fromC / 5 + 32
        C = 5 * (fromF - 32) / 9
        CtoF = '°C converted to °F equals' && F
        FtoC = fromF && '°F converted to °C equals' && C
        DLG(NE=fromC, LBL=CtoF, NE=fromF, Y=1, X=0,  LBL=FtoC,
            B='_Next', B='_OK', B='_Format',
            LBL='Why dont you try it with -40°')
        IF($txtRC == '_Next') EXIT
        IF($txtRC == '_Format')
            Ffmtd = FMT(F, 'F0')	! F1 or right mouse over FMT shows options
            Cfmtd= FMT(C, 'F2')
            DLG(N= C,SYM, E=Cfmtd,SYM, NE=F,SYM, E=Ffmtd,SYM, B='OK',
                LBL="C formatted with FMT(C, 'F2')",
                LBL="F formatted with FMT(F, 'F0')")
        ENDIF
    ENDDO
    DLG(Edit='#Finito', Button='Quit', LaBeL='Press ESCape instead to see the code')
    IF($txtRC == 'Quit') SYSTEM(QUIT=1)
END